/*    */
package com.hs.activation.vo;
/*    */
/*    */

import com.fasterxml.jackson.core.JsonProcessingException;
/*    */ import com.fasterxml.jackson.databind.ObjectMapper;
/*    */ import io.swagger.annotations.ApiModel;
/*    */ import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.text.SimpleDateFormat;

/*    */
/*    */
@ApiModel(value = "erp信息", description = "erp信息")
/*    */ public class ErpInfoVO implements Serializable {
    /*    */
    @ApiModelProperty("公司名称")
    /*    */ private String companyName;
    /*    */
    @ApiModelProperty("公司编号")
    /*    */ private String companyCode;
    /*    */
    @ApiModelProperty("机器码")
    /*    */ private String computerCode;

    /*    */
    /* 17 */
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @ApiModelProperty("设备类型")
    private Integer deviceType;
    @ApiModelProperty("服务人员")
    private String attendant;
    @ApiModelProperty("系统版本")
    private String systemVersion;
    @ApiModelProperty("mac地址")
    private String macs;

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public void setComputerCode(String computerCode) {
        this.computerCode = computerCode;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public void setAttendant(String attendant) {
        this.attendant = attendant;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public void setMacs(String macs) {
        this.macs = macs;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof com.hs.activation.vo.ErpInfoVO)) return false;
        com.hs.activation.vo.ErpInfoVO other = (com.hs.activation.vo.ErpInfoVO) o;
        if (!other.canEqual(this)) return false;
        Object this$deviceType = getDeviceType(), other$deviceType = other.getDeviceType();
        if ((this$deviceType == null) ? (other$deviceType != null) : !this$deviceType.equals(other$deviceType))
            return false;
        Object this$companyName = getCompanyName(), other$companyName = other.getCompanyName();
        if ((this$companyName == null) ? (other$companyName != null) : !this$companyName.equals(other$companyName))
            return false;
        Object this$companyCode = getCompanyCode(), other$companyCode = other.getCompanyCode();
        if ((this$companyCode == null) ? (other$companyCode != null) : !this$companyCode.equals(other$companyCode))
            return false;
        Object this$computerCode = getComputerCode(), other$computerCode = other.getComputerCode();
        if ((this$computerCode == null) ? (other$computerCode != null) : !this$computerCode.equals(other$computerCode))
            return false;
        Object this$attendant = getAttendant(), other$attendant = other.getAttendant();
        if ((this$attendant == null) ? (other$attendant != null) : !this$attendant.equals(other$attendant))
            return false;
        Object this$systemVersion = getSystemVersion(), other$systemVersion = other.getSystemVersion();
        if ((this$systemVersion == null) ? (other$systemVersion != null) : !this$systemVersion.equals(other$systemVersion))
            return false;
        Object this$macs = getMacs(), other$macs = other.getMacs();
        return !((this$macs == null) ? (other$macs != null) : !this$macs.equals(other$macs));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.hs.activation.vo.ErpInfoVO;
    }

    public int hashCode() {
        return 59;
    }

    public String toString() {
        return "ErpInfoVO(companyName=" + getCompanyName() + ", companyCode=" + getCompanyCode() + ", computerCode=" + getComputerCode() + ", deviceType=" + getDeviceType() + ", attendant=" + getAttendant() + ", systemVersion=" + getSystemVersion() + ", macs=" + getMacs() + ")";
    }

    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    /*    */
    public String getCompanyName() {
        /* 25 */
        return this.companyName;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    public String getCompanyCode() {
        /* 30 */
        return this.companyCode;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    public String getComputerCode() {
        /* 35 */
        return this.computerCode;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    /*    */
    public Integer getDeviceType() {
        /* 41 */
        return this.deviceType;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    /*    */
    public String getAttendant() {
        /* 47 */
        return this.attendant;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    /*    */
    public String getSystemVersion() {
        /* 53 */
        return this.systemVersion;
        /*    */
    }

    /*    */
    /*    */
    /*    */
    public String getMacs() {
        /* 58 */
        return this.macs;
        /*    */
    }

    public String toJson() {
        /*    */
        String dataString;
        /* 61 */
        ObjectMapper mapper = new ObjectMapper();
        /* 62 */
        mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"));
        /*    */
        /*    */
        try {
            /* 65 */
            dataString = mapper.writeValueAsString(this);
            /* 66 */
        } catch (JsonProcessingException ee) {
            /* 67 */
            ee.printStackTrace();
            /* 68 */
            dataString = ee.getMessage();
            /*    */
        }
        /* 70 */
        return dataString;
        /*    */
    }
    /*    */
}


/* Location:              C:\Users\yzc\Desktop\新建文件夹 (3)\activation-0.0.16.jar!\BOOT-INF\classes\com\hs\activation\vo\ErpInfoVO.class
 * Java compiler version: 16 (60.0)
 * JD-Core Version:       1.1.3
 */